<?php

namespace app\common\validate;
use think\Validate;

class System extends Validate{
 
	protected $rule=[

		'webname|网站名称'=>'require',
		'copyright|版权信息'=>'require',
		
	];

	//登录验证场景
	public function sceneEdit(){

		return $this->only(['webname','copyright']);
	}
	

}


